package dev.marsh.sniper.demo;

import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class ScanActivity extends dev.marsh.sniper.ScanActivity {
    private static final String TAG = "ScanActivity";

    public static void start(Context context) {
        context.startActivity(new Intent(context, ScanActivity.class));
    }

    @Override
    protected void result(boolean success) {
        if (BuildConfig.DEBUG) {
            Log.e(TAG, "Result is " + success);
        }
        finish();
    }
}
